package com.ebelter.btcomlib.models.bluetooth.products.bracelet.bean;


import com.ebelter.btcomlib.utils.TimeUtils;

public class RateBean {

    public long timeLong;
    public String timeStr;
    public int rate;//心率
    public int station;//0开始 1实时 2结束

    public RateBean(long timeLong, int rate) {
        this.timeLong = timeLong;
        this.rate = rate;
        this.timeStr= TimeUtils.formatTime1(timeLong);
    }

    public void setStation(int station) {
        this.station = station;
    }

    @Override
    public String toString() {
        return "RateBean{" +
                "timeLong=" + timeLong +
                ", timeStr='" + timeStr + '\'' +
                ", rate=" + rate +
                ", station=" + station +
                '}';
    }
}
